package com.jiayou.im.entity

import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName
import com.baomidou.mybatisplus.extension.activerecord.Model
import java.io.Serializable
import java.time.LocalDateTime

/**
@author 李 双
@data   2020-11-20  11:56
@info
 */
@TableName("im_user")
data class User(
    /**
     * 用户名
     */
    @TableId("username")
    var username: String? = null,

    /**
     * 密码
     */
    var password: String? = null,

    /**
     * 邮箱
     */
    var email: String? = null,

    /**
     * 创建时间
     */
    var createTime: LocalDateTime? = null
) : Model<User>(), Serializable {


    companion object {
        private const val serialVersionUID = 1L
    }
}
